package javaCode.chapter11.exception_;

/**
 * @author 徐州城
 * @version 1.0
 */
public class NumberFormatException_ {
    public static void main(String[] args) {
        String name = "徐州城";
        //将String 转成 int
        int num = Integer.parseInt(name); //抛出NumberFormatException异常
        System.out.println(num);
    }
}
